package com.aaaa.bbbb.controller;

import com.aaaa.bbbb.feign.UsersFeignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by Administrator on 2020/10/20.
 */

@RestController
@RequestMapping("goods/goods")
public class GoodsController {

    @Autowired
    private UsersFeignService usersFeignService;



    @RequestMapping("users/getRemoteUser")
    public String getRemoteUser(){

        return usersFeignService.getRemoteUser();

    }
}
